package com.cloud.flowable.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.cloud.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 流程表单测试表
 *
 * @author yzj
 * @since 2024-02-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "WfFormTest对象", description = "流程表单测试表")
@TableName("wf_form_test")
public class WfFormTest extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "申请时间")
    private String requestTime;

    @Schema(description = "申请内容")
    private String content;

    @Schema(description = "请假天数")
    private Integer askNum;

    @Schema(description = "流程标识KEY")
    private String processKey;

    @Schema(description = "表单节点KEY")
    private String nodeKey;

    @Schema(description = "流程实例Id")
    private String procInsId;

    @Schema(description = "删除标志（0代表存在 1代表删除）", hidden = true)
    @TableField(value = "deleted", fill = FieldFill.INSERT)
    private Integer deleted;

    @Schema(description = "备注")
    private String remark;

}
